FROM java:8
EXPOSE 8080

VOLLME /tmp
ADD target/*.jar /app.jar
RUN bash -c 'touch /app.jar'
ENTRYPOINT ['java','-jar','-Xmx100m','-Xms100m','/app.jar','--spring.profiles.active=prod']